<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ubb</title>
<link rel="stylesheet" type="text/css" href="images/style.css" />
<script type="text/javascript">
var charset = 'utf-8';
var InFloat_Editor = 'floatlayout_newthread';
</script>
<script src="images/common.js" type="text/javascript"></script>
</head>
<body onkeydown="if(event.keyCode==27) return false;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div id="wrap" class="wrap s_clear">
  <div class="main">
    <div class="content">
      <div class="nojs">
        <div id="floatwinnojs">
          <div class="float" id="floatlayout_newthread">
            <form method="post" id="postform" action="post.php" onsubmit="return validate(this);">
              <input type="hidden" name="formhash" id="formhash" value="fda203fb" />
              <input type="hidden" name="wysiwyg" id="e_mode" value="1" />
              <input type="hidden" name="iconid" id="iconid" value="" />
              <div style="clear:both;">
                <div class="floatbox floatbox1" id="editorbox">
                  <div class="popupmenu_popup" id="imgpreview" style="position:absolute;width:180px;height:150px;display: none;"></div>
                  <div class="postbox" id="postbox">
                    <div class="float_postinfo s_clear">
											<em id="icon" class="dropmenu" onmouseover="InFloat='floatlayout_newthread';showMenu(this.id)">
											<img id="icon_img" src="images/icons/icon1.gif" />
											</em>
                      <ul id="icon_menu" class="popupmenu_popup" style="display:none">
                        <li><a href="javascript:;"><img onclick="switchicon(58, this)" src="images/icons/icon1.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(59, this)" src="images/icons/icon2.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(60, this)" src="images/icons/icon3.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(61, this)" src="images/icons/icon4.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(62, this)" src="images/icons/icon5.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(63, this)" src="images/icons/icon6.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(64, this)" src="images/icons/icon7.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(65, this)" src="images/icons/icon8.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(66, this)" src="images/icons/icon9.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(67, this)" src="images/icons/icon10.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(68, this)" src="images/icons/icon11.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(69, this)" src="images/icons/icon12.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(70, this)" src="images/icons/icon13.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(71, this)" src="images/icons/icon14.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(72, this)" src="images/icons/icon15.gif" alt="" /></a></li>
                        <li><a href="javascript:;"><img onclick="switchicon(73, this)" src="images/icons/icon16.gif" alt="" /></a></li>
                      </ul>
                      <span>
                      <input name="subject" id="subject" class="txt" value="" tabindex="1" />
                      </span>
                      <div class="left"> </div>
                    </div>
                    <div id="e_controls" class="editorrow">
                      <div class="editor">
										  <a id="e_popup_simple" title="粗体 斜体 下划线"></a> 
											<a id="e_popup_fontname" title="字体"></a>
											<a id="e_popup_fontsize" title="大小"></a>
											<a id="e_popup_forecolor" title="颜色"></a>
											<a id="e_popup_justify" title="对齐"></a>
											<a id="e_cmd_createlink" title="链接"></a>
											<a id="e_cmd_email" title="Email"></a>
											<a id="e_cmd_insertimage" title="图片"></a>
											<a id="e_popup_media" title="多媒体"></a>
											<a id="e_cmd_quote" title="引用"></a>
											<a id="e_cmd_code" title="代码"></a>
											<a id="e_popup_list" title="列表"></a>
											<a id="e_popup_dent" title="缩进"></a>
											<a id="e_popup_float" title="浮动"></a>
											<a id="e_cmd_table" title="表格"></a>
											<!--a id="e_cmd_free" title="免费信息"></a-->
											<!--a id="e_cmd_hide" title="隐藏内容"></a-->
											<a id="e_popup_smilies" title="表情"></a>
											<a id="e_cmd_custom1_fly" class="customedit" title="使内容横向滚动，这个效果类似 HTML 的 marquee 标签，注意：这个效果只在 Internet Explorer 浏览器下有效。"><img src="images/bb_fly.gif" title="使内容横向滚动，这个效果类似 HTML 的 marquee 标签，注意：这个效果只在 Internet Explorer 浏览器下有效。" alt="fly" /></a>
											<a id="e_cmd_custom1_flash" class="customedit" title="嵌入 Flash 动画"><img src="images/bb_flash.gif" title="嵌入 Flash 动画" alt="flash" /></a>
											<a id="e_cmd_custom1_qq" class="customedit" title="显示 QQ 在线状态，点这个图标可以和他（她）聊天"><img src="images/bb_qq.gif" title="显示 QQ 在线状态，点这个图标可以和他（她）聊天" alt="qq" /></a>
											<a id="e_cmd_custom1_sup" class="customedit" title="上标"><img src="images/bb_sup.gif" title="上标" alt="sup" /></a>
											<a id="e_cmd_custom1_sub" class="customedit" title="下标"><img src="images/bb_sub.gif" title="下标" alt="sub" /></a>
											<a id="e_popup_tools" title="工具"></a>
											<a id="e_switcher" class="plugeditor editormode"><input type="checkbox" name="checkbox" value="0"  onclick="switchEditor(this.checked?0:1)" />源码</a>
											</div>
                      <div class="editortoolbar">
                        <div class="popupmenu_popup fontstyle_menu" id="e_popup_simple_menu" style="display: none">
                          <ul unselectable="on">
                            <li><a id="e_cmd_bold" title="粗体">粗体</a></li>
                            <li><a id="e_cmd_italic" title="斜体">斜体</a></li>
                            <li><a id="e_cmd_underline" title="下划线">下划线</a></li>
                          </ul>
                        </div>
                        <div class="popupmenu_popup fontname_menu" id="e_popup_fontname_menu" style="display: none">
                          <ul unselectable="on">
                            <li onclick="discuzcode('fontname', '仿宋_GB2312')" style="font-family: 仿宋_GB2312" unselectable="on">仿宋_GB2312</li>
                            <li onclick="discuzcode('fontname', '黑体')" style="font-family: 黑体" unselectable="on">黑体</li>
                            <li onclick="discuzcode('fontname', '楷体_GB2312')" style="font-family: 楷体_GB2312" unselectable="on">楷体_GB2312</li>
                            <li onclick="discuzcode('fontname', '宋体')" style="font-family: 宋体" unselectable="on">宋体</li>
                            <li onclick="discuzcode('fontname', '新宋体')" style="font-family: 新宋体" unselectable="on">新宋体</li>
                            <li onclick="discuzcode('fontname', '微软雅黑')" style="font-family: 微软雅黑" unselectable="on">微软雅黑</li>
                            <li onclick="discuzcode('fontname', 'Trebuchet MS')" style="font-family: Trebuchet MS" unselectable="on">Trebuchet MS</li>
                            <li onclick="discuzcode('fontname', 'Tahoma')" style="font-family: Tahoma" unselectable="on">Tahoma</li>
                            <li onclick="discuzcode('fontname', 'Arial')" style="font-family: Arial" unselectable="on">Arial</li>
                            <li onclick="discuzcode('fontname', 'Impact')" style="font-family: Impact" unselectable="on">Impact</li>
                            <li onclick="discuzcode('fontname', 'Verdana')" style="font-family: Verdana" unselectable="on">Verdana</li>
                            <li onclick="discuzcode('fontname', 'Times New Roman')" style="font-family: Times New Roman" unselectable="on">Times New Roman</li>
                          </ul>
                        </div>
                        <div class="popupmenu_popup fontsize_menu" id="e_popup_fontsize_menu" style="display: none">
                          <ul unselectable="on">
                            <li onclick="discuzcode('fontsize', 1)" unselectable="on"><font size="1" unselectable="on">1</font></li>
                            <li onclick="discuzcode('fontsize', 2)" unselectable="on"><font size="2" unselectable="on">2</font></li>
                            <li onclick="discuzcode('fontsize', 3)" unselectable="on"><font size="3" unselectable="on">3</font></li>
                            <li onclick="discuzcode('fontsize', 4)" unselectable="on"><font size="4" unselectable="on">4</font></li>
                            <li onclick="discuzcode('fontsize', 5)" unselectable="on"><font size="5" unselectable="on">5</font></li>
                            <li onclick="discuzcode('fontsize', 6)" unselectable="on"><font size="6" unselectable="on">6</font></li>
                            <li onclick="discuzcode('fontsize', 7)" unselectable="on"><font size="7" unselectable="on">7</font></li>
                          </ul>
                        </div>
                        <div class="popupmenu_popup" id="e_popup_forecolor_menu" style="display: none">
                          <table cellpadding="0" cellspacing="0" border="0" unselectable="on" style="width: auto;">
                            <tr>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Black')" unselectable="on">
                                <div style="background-color: Black" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Sienna')" unselectable="on">
                                <div style="background-color: Sienna" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DarkOliveGreen')" unselectable="on">
                                <div style="background-color: DarkOliveGreen" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DarkGreen')" unselectable="on">
                                <div style="background-color: DarkGreen" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DarkSlateBlue')" unselectable="on">
                                <div style="background-color: DarkSlateBlue" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Navy')" unselectable="on">
                                <div style="background-color: Navy" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Indigo')" unselectable="on">
                                <div style="background-color: Indigo" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DarkSlateGray')" unselectable="on">
                                <div style="background-color: DarkSlateGray" unselectable="on"></div>
                              </td>
                            </tr>
                            <tr>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DarkRed')" unselectable="on">
                                <div style="background-color: DarkRed" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DarkOrange')" unselectable="on">
                                <div style="background-color: DarkOrange" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Olive')" unselectable="on">
                                <div style="background-color: Olive" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Green')" unselectable="on">
                                <div style="background-color: Green" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Teal')" unselectable="on">
                                <div style="background-color: Teal" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Blue')" unselectable="on">
                                <div style="background-color: Blue" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'SlateGray')" unselectable="on">
                                <div style="background-color: SlateGray" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DimGray')" unselectable="on">
                                <div style="background-color: DimGray" unselectable="on"></div>
                              </td>
                            </tr>
                            <tr>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Red')" unselectable="on">
                                <div style="background-color: Red" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'SandyBrown')" unselectable="on">
                                <div style="background-color: SandyBrown" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'YellowGreen')" unselectable="on">
                                <div style="background-color: YellowGreen" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'SeaGreen')" unselectable="on">
                                <div style="background-color: SeaGreen" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'MediumTurquoise')" unselectable="on">
                                <div style="background-color: MediumTurquoise" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'RoyalBlue')" unselectable="on">
                                <div style="background-color: RoyalBlue" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Purple')" unselectable="on">
                                <div style="background-color: Purple" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Gray')" unselectable="on">
                                <div style="background-color: Gray" unselectable="on"></div>
                              </td>
                            </tr>
                            <tr>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Magenta')" unselectable="on">
                                <div style="background-color: Magenta" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Orange')" unselectable="on">
                                <div style="background-color: Orange" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Yellow')" unselectable="on">
                                <div style="background-color: Yellow" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Lime')" unselectable="on">
                                <div style="background-color: Lime" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Cyan')" unselectable="on">
                                <div style="background-color: Cyan" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DeepSkyBlue')" unselectable="on">
                                <div style="background-color: DeepSkyBlue" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'DarkOrchid')" unselectable="on">
                                <div style="background-color: DarkOrchid" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Silver')" unselectable="on">
                                <div style="background-color: Silver" unselectable="on"></div>
                              </td>
                            </tr>
                            <tr>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Pink')" unselectable="on">
                                <div style="background-color: Pink" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Wheat')" unselectable="on">
                                <div style="background-color: Wheat" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'LemonChiffon')" unselectable="on">
                                <div style="background-color: LemonChiffon" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'PaleGreen')" unselectable="on">
                                <div style="background-color: PaleGreen" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'PaleTurquoise')" unselectable="on">
                                <div style="background-color: PaleTurquoise" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'LightBlue')" unselectable="on">
                                <div style="background-color: LightBlue" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'Plum')" unselectable="on">
                                <div style="background-color: Plum" unselectable="on"></div>
                              </td>
                              <td class="editor_colornormal" onclick="discuzcode('forecolor', 'White')" unselectable="on">
                                <div style="background-color: White" unselectable="on"></div>
                              </td>
                            </tr>
                            <tr></tr>
                          </table>
                        </div>
                        <div class="popupmenu_popup" id="e_popup_justify_menu" style="display: none">
                          <ul unselectable="on">
                            <li><a id="e_cmd_justifyleft" title="居左">居左</a></li>
                            <li><a id="e_cmd_justifycenter" title="居中">居中</a></li>
                            <li><a id="e_cmd_justifyright" title="居右">居右</a></li>
                          </ul>
                        </div>
                        <div class="smilies" id="e_popup_smilies_menu" style="display: none">
                          <div class="smilieslist">
                            <div id="smiliesdiv"></div>
                          </div>
                        </div>
                        <div class="popupmenu_popup" id="e_popup_dent_menu" style="display: none">
                          <ul unselectable="on">
                            <li><a id="e_cmd_indent" title="增加缩进">增加缩进</a></li>
                            <li><a id="e_cmd_outdent" title="减少缩进">减少缩进</a></li>
                          </ul>
                        </div>
                        <div class="popupmenu_popup" id="e_popup_float_menu" style="display: none">
                          <ul unselectable="on">
                            <li><a id="e_cmd_floatleft" title="左浮动">左浮动</a></li>
                            <li><a id="e_cmd_floatright" title="右浮动">右浮动</a></li>
                          </ul>
                        </div>
                        <div class="popupmenu_popup" id="e_popup_list_menu" style="display: none">
                          <ul unselectable="on">
                            <li><a id="e_cmd_insertorderedlist" title="排序的列表">排序的列表</a></li>
                            <li><a id="e_cmd_insertunorderedlist" title="未排序列表">未排序列表</a></li>
                          </ul>
                        </div>
                        <div class="popupmenu_popup" id="e_popup_hide_menu" style="display: none">
                          <ul unselectable="on">
                            <li><a id="e_popup_hide" title="插入隐藏内容">插入隐藏内容</a></li>
                            <li><a id="e_cmd_table" title="插入表格">插入表格</a></li>
                            <li><a id="e_cmd_free" title="插入免费信息">插入免费信息</a></li>
                          </ul>
                        </div>
                        <div class="popupmenu_popup" id="e_popup_tools_menu" style="display: none">
                          <ul unselectable="on">
                            <a id="e_cmd_removeformat" title="清除文本格式">清除文本格式</a> 
														<a id="e_cmd_unlink" title="移除链接">移除链接</a> 
														<a id="e_cmd_undo" title="撤销">撤销</a> 
														<a id="e_cmd_redo" title="重做">重做</a> 
														<a id="e_cmd_checklength" title="字数检查">字数检查</a> 
														<a id="e_cmd_clearcontent" title="清空内容">清空内容</a>
                            <a id="e_cmd_autosave" title="自动保存">自动保存<em id="autsavet">(已停止)</em></a> 
														<a id="e_cmd_saveData" title="保存数据">保存数据</a> <a id="e_cmd_loadData" title="恢复数据">恢复数据</a>
                          </ul>
                        </div>
                      </div>
                    </div>
                    <div class="newediter">
                      <div style="border-left: 4px solid #FFF">
                        <textarea class="autosave max" name="message" id="e_textarea" tabindex="1" class="txt" style="height:300px">
                        </textarea>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div style="clear:both;"></div>
              <div class="floatbox floatbox1">
                <div class="postbox">
										<button type="submit" id="postsubmit" value="true" name="topicsubmit" tabindex="1"> 发新话题 </button>         
                </div>
              </div>
            </form>
          </div>
          <div class="popupmenu_popup" clickshow="1" id="e_popup_media_menu" style="width: 280px;display: none" unselectable="on">
            <input type="hidden" id="e_mediatype" value="ra">
            <input type="hidden" id="e_mediaautostart" value="0">
            <table cellpadding="4" cellspacing="0" border="0">
              <tr class="popupmenu_option">
                <td nowrap> 请输入多媒体文件的地址:<br />
                  <input id="e_mediaurl" style="width: 98%" value="" onkeyup="setmediatype('e')" />
                </td>
              </tr>
              <tr class="popupmenu_option">
                <td nowrap>
                  <label style="float: left; width: 32%">
                  <input type="radio" name="e_mediatyperadio" id="e_mediatyperadio_ra" onclick="$('e_mediatype').value = 'ra'" checked="checked">
                  RA</label>
                  <label style="float: left; width: 32%">
                  <input type="radio" name="e_mediatyperadio" id="e_mediatyperadio_wma" onclick="$('e_mediatype').value = 'wma'">
                  WMA</label>
                  <label style="float: left; width: 32%">
                  <input type="radio" name="e_mediatyperadio" id="e_mediatyperadio_mp3" onclick="$('e_mediatype').value = 'mp3'">
                  MP3</label>
                  <label style="float: left; width: 32%">
                  <input type="radio" name="e_mediatyperadio" id="e_mediatyperadio_rm" onclick="$('e_mediatype').value = 'rm'">
                  RM/RMVB</label>
                  <label style="float: left; width: 32%">
                  <input type="radio" name="e_mediatyperadio" id="e_mediatyperadio_wmv" onclick="$('e_mediatype').value = 'wmv'">
                  WMV</label>
                  <label style="float: left; width: 32%">
                  <input type="radio" name="e_mediatyperadio" id="e_mediatyperadio_mov" onclick="$('e_mediatype').value = 'mov'">
                  MOV</label>
                </td>
              </tr>
              <tr class="popupmenu_option">
                <td nowrap>
                  <label style="float: left; width: 32%">宽:
                  <input id="e_mediawidth" size="5" value="400" />
                  </label>
                  <label style="float: left; width: 32%">高:
                  <input id="e_mediaheight" size="5" value="300" />
                  </label>
                  <label style="float: left; width: 32%">
                  <input type="checkbox" onclick="$('e_mediaautostart').value =this.checked ? 1: 0">自动播放</label>
                </td>
              </tr>
              <tr class="popupmenu_option">
                <td align="center" colspan="2">
                  <input type="button" value="提交" onclick="setmediacode('e')">
                  &nbsp;
                  <input type="button" onclick="hideMenu()" value="取消" />
                </td>
              </tr>
            </table>
          </div>
          <script type="text/javascript">						
						var pagescroll = new pagescroll_class('floatlayout_newthread', 600, 410);
						$('floatlayout_newthread').scrollLeft = 600;						
						var postminchars = parseInt('10');
						var postmaxchars = parseInt('10000');
						var disablepostctrl = parseInt('1');
						var seccodecheck = parseInt('');
						var secqaacheck = parseInt('');
						var typerequired = parseInt('');
						var special = parseInt('0');
						var isfirstpost = 1;
						var allowposttrade = parseInt('1');
						var allowpostreward = parseInt('1');
						var allowpostactivity = parseInt('1');
						var sortid = '';
						var special = parseInt('0');
						
						var editorid = 'e';
						var textobj = $(editorid + '_textarea');
						var wysiwyg = (is_ie || is_moz || (is_opera >= 9)) && parseInt('1') == 1 ? 1 : 0;
						var allowswitcheditor = parseInt('1');
						var allowhtml         = parseInt('0');
						var forumallowhtml    = parseInt('0');
						var allowsmilies      = parseInt('1');
						var allowbbcode       = parseInt('1');
						var allowimgcode      = parseInt('1');
						var allowpostattach   = parseInt('1');

						var smilies = new Array();
						smilies[1] = {'code' : ':)', 'url' : 'default/smile.gif'};
						smilies[2] = {'code' : ':(', 'url' : 'default/sad.gif'};
						smilies[3] = {'code' : ':D', 'url' : 'default/biggrin.gif'};
						smilies[4] = {'code' : ':\'(', 'url' : 'default/cry.gif'};
						smilies[5] = {'code' : ':@', 'url' : 'default/huffy.gif'};
						smilies[6] = {'code' : ':o', 'url' : 'default/shocked.gif'};
						smilies[7] = {'code' : ':P', 'url' : 'default/tongue.gif'};
						smilies[8] = {'code' : ':$', 'url' : 'default/shy.gif'};
						smilies[9] = {'code' : ';P', 'url' : 'default/titter.gif'};
						smilies[10] = {'code' : ':L', 'url' : 'default/sweat.gif'};
						smilies[11] = {'code' : ':Q', 'url' : 'default/mad.gif'};
						smilies[12] = {'code' : ':lol', 'url' : 'default/lol.gif'};
						smilies[13] = {'code' : ':loveliness:', 'url' : 'default/loveliness.gif'};
						smilies[14] = {'code' : ':funk:', 'url' : 'default/funk.gif'};
						smilies[15] = {'code' : ':curse:', 'url' : 'default/curse.gif'};
						smilies[16] = {'code' : ':dizzy:', 'url' : 'default/dizzy.gif'};
						smilies[17] = {'code' : ':shutup:', 'url' : 'default/shutup.gif'};
						smilies[18] = {'code' : ':sleepy:', 'url' : 'default/sleepy.gif'};
						smilies[19] = {'code' : ':hug:', 'url' : 'default/hug.gif'};
						smilies[20] = {'code' : ':victory:', 'url' : 'default/victory.gif'};
						smilies[21] = {'code' : ':time:', 'url' : 'default/time.gif'};
						smilies[22] = {'code' : ':kiss:', 'url' : 'default/kiss.gif'};
						smilies[23] = {'code' : ':handshake', 'url' : 'default/handshake.gif'};
						smilies[24] = {'code' : ':call:', 'url' : 'default/call.gif'};
						smilies[25] = {'code' : '[m:01]', 'url' : 'monkey/01.gif'};
						smilies[26] = {'code' : '[m:02]', 'url' : 'monkey/02.gif'};
						smilies[27] = {'code' : '[m:03]', 'url' : 'monkey/03.gif'};
						smilies[28] = {'code' : '[m:04]', 'url' : 'monkey/04.gif'};
						smilies[29] = {'code' : '[m:05]', 'url' : 'monkey/05.gif'};
						smilies[30] = {'code' : '[m:06]', 'url' : 'monkey/06.gif'};
						smilies[31] = {'code' : '[m:07]', 'url' : 'monkey/07.gif'};
						smilies[32] = {'code' : '[m:08]', 'url' : 'monkey/08.gif'};
						smilies[33] = {'code' : '[m:09]', 'url' : 'monkey/09.gif'};
						smilies[34] = {'code' : '[m:10]', 'url' : 'monkey/10.gif'};
						smilies[35] = {'code' : '[m:11]', 'url' : 'monkey/11.gif'};
						smilies[36] = {'code' : '[m:12]', 'url' : 'monkey/12.gif'};
						smilies[37] = {'code' : '[m:13]', 'url' : 'monkey/13.gif'};
						smilies[38] = {'code' : '[m:14]', 'url' : 'monkey/14.gif'};
						smilies[39] = {'code' : '[m:15]', 'url' : 'monkey/15.gif'};
						smilies[40] = {'code' : '[m:16]', 'url' : 'monkey/16.gif'};
						smilies[41] = {'code' : '[g:01]', 'url' : 'grapeman/01.gif'};
						smilies[42] = {'code' : '[g:02]', 'url' : 'grapeman/02.gif'};
						smilies[43] = {'code' : '[g:03]', 'url' : 'grapeman/03.gif'};
						smilies[44] = {'code' : '[g:04]', 'url' : 'grapeman/04.gif'};
						smilies[45] = {'code' : '[g:05]', 'url' : 'grapeman/05.gif'};
						smilies[46] = {'code' : '[g:06]', 'url' : 'grapeman/06.gif'};
						smilies[47] = {'code' : '[g:07]', 'url' : 'grapeman/07.gif'};
						smilies[48] = {'code' : '[g:08]', 'url' : 'grapeman/08.gif'};
						smilies[49] = {'code' : '[g:09]', 'url' : 'grapeman/09.gif'};
						smilies[50] = {'code' : '[g:10]', 'url' : 'grapeman/10.gif'};
						smilies[51] = {'code' : '[g:11]', 'url' : 'grapeman/11.gif'};
						smilies[52] = {'code' : '[g:12]', 'url' : 'grapeman/12.gif'};
						smilies[53] = {'code' : '[g:13]', 'url' : 'grapeman/13.gif'};
						smilies[54] = {'code' : '[g:14]', 'url' : 'grapeman/14.gif'};
						smilies[55] = {'code' : '[g:15]', 'url' : 'grapeman/15.gif'};
						smilies[56] = {'code' : '[g:16]', 'url' : 'grapeman/16.gif'};
						smilies[57] = {'code' : '[g:17]', 'url' : 'grapeman/17.gif'};
						var editorcss = 'images/style.css';
						var editorcss_editor = null;
						var TABLEBG = '#FFF';
						
						var fontoptions = new Array("仿宋_GB2312", "黑体", "楷体_GB2312", "宋体", "新宋体", "微软雅黑", "Trebuchet MS", "Tahoma", "Arial", "Impact", "Verdana", "Times New Roman");
						var custombbcodes = new Array();
						custombbcodes["fly"] = {'prompt' : '请输入滚动显示的文字:'};
						custombbcodes["flash"] = {'prompt' : '请输入 Flash 动画的 URL:'};
						custombbcodes["qq"] = {'prompt' : '请输入显示在线状态 QQ 号码:'};
						custombbcodes["sup"] = {'prompt' : '请输入上标文字：'};
						custombbcodes["sub"] = {'prompt' : '请输入下标文字：'};
												
						function cedit() {
							try {
								loadData(1);
							} catch(e) {
								setTimeout('cedit()', 1000);
							}
						}

						function openEditor() {
							try {
								newEditor(wysiwyg);
								if(editbox) {
									editbox.className = 'autosave max';
								}
							} catch(e) {
								setTimeout('openEditor()', 100);
								return;
							}
							if(!$('floatlayout_newthread').scrollLeft) {
								$('floatlayout_newthread').scrollLeft = 600;
							}
							if(!getcookie('disableautosave')) {
								clearInterval(autosaveDatai);
								autosaveData(1);
							}
							if(is_ie >= 5 || is_moz >= 2) {
								window.onbeforeunload = function () {
									try {
										saveData(wysiwyg ? editdoc.body.innerHTML : textobj.value);
									} catch(e) {}
								};
							}
						}
						
						smilies_show('smiliesdiv', 8, 1);						

						var oURL = location.href;
						var offset = oURL.lastIndexOf("id=");
						if (offset == -1){
							alert("请传入调用参数ID，即隐藏的内容表单项ID！");
						} else {
							offset = offset + 3;
						}
						var sLinkFieldName = oURL.substring(offset);
						var oLinkField = parent.document.getElementsByName(sLinkFieldName)[0];
						var oForm = oLinkField.form;
						window.onload = function(){
							try{								
								setLinkedField();
							}catch(e){
								// window.location.reload();
							}
						}

						// 设置所属表单的提交
						function setLinkedField() {
							if (!oLinkField) return;
							var oForm = oLinkField.form ;
							if (!oForm) return ;
							_attachEvent(oForm, 'submit', AttachSubmit);
						}
						// 提交表单
						function AttachSubmit() {
							var txt = wysiwyg ? html2bbcode(getEditorContents()) : parseurl($('postform').message.value);
							oLinkField.value = txt;
						}
     			</script>
          <script src="images/editor.js" type="text/javascript"></script>
          <script src="images/bbcode.js" type="text/javascript"></script>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>
